package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.CwProperty;

/**
 * illustriousness.`cw_property`Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public interface CwPropertyMapper 
{
    /**
     * 查询illustriousness.`cw_property`
     * 
     * @param pid illustriousness.`cw_property`主键
     * @return illustriousness.`cw_property`
     */
    public CwProperty selectCwPropertyByPid(Long pid);

    /**
     * 查询illustriousness.`cw_property`列表
     * 
     * @param cwProperty illustriousness.`cw_property`
     * @return illustriousness.`cw_property`集合
     */
    public List<CwProperty> selectCwPropertyList(CwProperty cwProperty);

    /**
     * 新增illustriousness.`cw_property`
     * 
     * @param cwProperty illustriousness.`cw_property`
     * @return 结果
     */
    public int insertCwProperty(CwProperty cwProperty);

    /**
     * 修改illustriousness.`cw_property`
     * 
     * @param cwProperty illustriousness.`cw_property`
     * @return 结果
     */
    public int updateCwProperty(CwProperty cwProperty);

    /**
     * 删除illustriousness.`cw_property`
     * 
     * @param pid illustriousness.`cw_property`主键
     * @return 结果
     */
    public int deleteCwPropertyByPid(Long pid);

    /**
     * 批量删除illustriousness.`cw_property`
     * 
     * @param pids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCwPropertyByPids(Long[] pids);
}
